﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="SearchServiceBulletin.ascx.vb" Inherits="WebForm_ManageBulletin_SearchServiceBulletin" %>
<table>
    <tr>
        <td>
            <table>
               <tr>
                <td align="right">
                    <asp:Label ID="lblServiceSubject" runat="server" meta:resourcekey="lblServiceSubject"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtServiceSubject" runat="server"></asp:TextBox>
                </td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                 <td align="right">
                    <asp:Label ID="lblServiceTime" runat="server" meta:resourcekey="lblServiceTime"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtStartDate" runat="server"></asp:TextBox>
                    <ajaxToolkit:CalendarExtender ID="ceStartDate" runat="server" TargetControlID="txtStartDate"></ajaxToolkit:CalendarExtender>
                    ~
                    <asp:TextBox ID="txtEndDate" runat="server"></asp:TextBox>
                    <ajaxToolkit:CalendarExtender ID="ceEndDate" runat="server" TargetControlID="txtEndDate"></ajaxToolkit:CalendarExtender> 
                </td>
                <td>
                    <asp:Button ID="btnQuery" runat="server" meta:resourcekey="btnQuery" />
                </td>
              </tr>  
            </table>
        </td>
    </tr>
</table>
<br />
<My:MyGridView ID="gv" runat="server" SkinID="pager" AllowHoverSelect="False" DataKeyNames="ServiceID" AllowHoverEffect="False" MySortDirection="Ascending" meta:resourcekey="gv">
    <Columns>
        <asp:BoundField DataField="ServiceSubject" meta:resourcekey="bfServiceSubject" />
        <asp:BoundField DataField="Organization" meta:resourcekey="bfOrganization" />
        <asp:BoundField DataField="ItemType" meta:resourcekey="bfItemType" />
        <asp:TemplateField>        
            <ItemTemplate>
                <asp:LinkButton ID="lknEdit" CommandName="Update" runat="server" meta:resourcekey="lknEdit"></asp:LinkButton>
            </ItemTemplate>
        </asp:TemplateField>        
        <asp:TemplateField>        
            <ItemTemplate>
                <asp:LinkButton ID="lknDelete" CommandName="Delete" runat="server" meta:resourcekey="lknDelete"></asp:LinkButton>
                <ajaxToolkit:ConfirmButtonExtender ID="cbDelete" runat="server" TargetControlID="lknDelete"
                    meta:resourcekey="cbDelete">
                </ajaxToolkit:ConfirmButtonExtender>   
            </ItemTemplate>
        </asp:TemplateField> 
    </Columns>
</My:MyGridView>
